package com.mlnx.work.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("时间查询条件封装类")
public class DateDTO {
    @ApiModelProperty("起始时间")
    private Long startTime;

    @ApiModelProperty("结束时间")
    private Long endTime;

    public DateDTO(Long startTime, Long endTime) {
        this.startTime = startTime;
        this.endTime = endTime;
    }
}
